﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.Mvc;
using Vit.Common;
using Vit.Common.Models;
using Vit.Web;
using Vit.Web.Models;
using Vit.Mvc.Models;

namespace Vit.Site.Areas.Admin.Controllers
{
    public class PortalController : Vit.Mvc.Controllers.EntityControllerBase<VitDB, Portal>
    {
        protected override Expression<Func<Portal, bool>> GetEnityKeyPredict(string id)
        {
            return o => o.PortalID == new Guid(id);
        }
    }
}
